#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <dialog.h>
#include <QDebug>
#include <QTimer>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

private:
    Ui::Widget *ui;
    bool    verifyAccess(QString u, QString p);
private slots:
    void openDialog();

    void on_pushButton_clicked();
};

#endif // WIDGET_H
